<template>
  <i class="el-icon-arrow-left" @click="goTo()"></i>
</template>

<script>
export default {
  name: "BackToPage",
  props: {
    pageAddr: String,
  },
  methods: {
    goTo() {
      this.$router.push({ path: this.pageAddr });
    },
  },
};
</script>
